package cn.genmer.test.security.designpatterns.decorator.mydecorator;

import cn.genmer.test.security.designpatterns.decorator.Decorator;
import cn.genmer.test.security.designpatterns.decorator.Drink;

/**
 * 具体的装饰类 - 蜂蜜
 */
public class Honey extends Decorator {
    public Honey(Drink obj) {
        super(obj);
        setName("蜂蜜");
        setPrice(2.0f);
    }
}
